package com.yuexunit.operationman.nbsy.module.InterventionalOperation.Bean;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by chenss on 2017/8/17 0017.
 */

public class DrugListBean implements Serializable {

    /**
     * code : 200
     * desc : 获取数据成功
     * object : {"pageSize":9999,"list":[{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":2,"medicineName":"0.9%氯化钠注射液 500ml ivgtt","medicineOrder":2,"status":1,"createTime":1502328816000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":5,"medicineName":"0.9%氯化钠注射液 40ml + 芬太尼注射液0.5mg/iv-vp  50ml/h","medicineOrder":3,"status":1,"createTime":1502328853000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":4,"medicineName":"肝素钠注射液 5000u iv","medicineOrder":4,"status":1,"createTime":1502328829000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":3,"medicineName":"5%葡萄糖氯化钠注射液500ml ivgtt","medicineOrder":5,"status":1,"createTime":1502328823000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":6,"medicineName":"0.9%氯化钠注射液 250ml +多巴胺注射液100mg/iv-vp 50ml/h","medicineOrder":6,"status":1,"createTime":1502328864000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":7,"medicineName":"盐酸替罗非斑氯化钠注射液 10ml 冠脉内注射","medicineOrder":7,"status":1,"createTime":1502328871000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":8,"medicineName":"阿托品注射液 0.5mg iv","medicineOrder":8,"status":1,"createTime":1502328879000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":9,"medicineName":"0.9%氯化钠注射液500CC+10%氯化钾注射液10cc ivgtt","medicineOrder":9,"status":1,"createTime":1502328886000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":10,"medicineName":"0.9%氯化钠注射液500CC+门冬氨酸钾镁注射液10ml ivgtt","medicineOrder":10,"status":1,"createTime":1502328893000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":11,"medicineName":"0.9%氯化钠注射液250ml+去甲肾上腺素注射液2mg ivgtt","medicineOrder":11,"status":1,"createTime":1502328900000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":12,"medicineName":"肾上腺素注射液 1mg iv","medicineOrder":12,"status":1,"createTime":1502328907000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":13,"medicineName":"盐酸吗啡注射液 3mg 皮下注射","medicineOrder":13,"status":1,"createTime":1502328914000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":14,"medicineName":"咪达唑仑注射液 10mg iv","medicineOrder":14,"status":1,"createTime":1502328920000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":15,"medicineName":"氟马西尼针 0.2mg iv","medicineOrder":15,"status":1,"createTime":1502328927000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":16,"medicineName":"200J电复律 1 次","medicineOrder":16,"status":1,"createTime":1502328934000,"searchKey":null,"startDate":null,"endDate":null}],"totalCount":15,"pageNo":1,"totalPages":1}
     */

    private int code;
    private String desc;
    /**
     * pageSize : 9999
     * list : [{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":2,"medicineName":"0.9%氯化钠注射液 500ml ivgtt","medicineOrder":2,"status":1,"createTime":1502328816000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":5,"medicineName":"0.9%氯化钠注射液 40ml + 芬太尼注射液0.5mg/iv-vp  50ml/h","medicineOrder":3,"status":1,"createTime":1502328853000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":4,"medicineName":"肝素钠注射液 5000u iv","medicineOrder":4,"status":1,"createTime":1502328829000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":3,"medicineName":"5%葡萄糖氯化钠注射液500ml ivgtt","medicineOrder":5,"status":1,"createTime":1502328823000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":6,"medicineName":"0.9%氯化钠注射液 250ml +多巴胺注射液100mg/iv-vp 50ml/h","medicineOrder":6,"status":1,"createTime":1502328864000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":7,"medicineName":"盐酸替罗非斑氯化钠注射液 10ml 冠脉内注射","medicineOrder":7,"status":1,"createTime":1502328871000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":8,"medicineName":"阿托品注射液 0.5mg iv","medicineOrder":8,"status":1,"createTime":1502328879000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":9,"medicineName":"0.9%氯化钠注射液500CC+10%氯化钾注射液10cc ivgtt","medicineOrder":9,"status":1,"createTime":1502328886000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":10,"medicineName":"0.9%氯化钠注射液500CC+门冬氨酸钾镁注射液10ml ivgtt","medicineOrder":10,"status":1,"createTime":1502328893000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":11,"medicineName":"0.9%氯化钠注射液250ml+去甲肾上腺素注射液2mg ivgtt","medicineOrder":11,"status":1,"createTime":1502328900000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":12,"medicineName":"肾上腺素注射液 1mg iv","medicineOrder":12,"status":1,"createTime":1502328907000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":13,"medicineName":"盐酸吗啡注射液 3mg 皮下注射","medicineOrder":13,"status":1,"createTime":1502328914000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":14,"medicineName":"咪达唑仑注射液 10mg iv","medicineOrder":14,"status":1,"createTime":1502328920000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":15,"medicineName":"氟马西尼针 0.2mg iv","medicineOrder":15,"status":1,"createTime":1502328927000,"searchKey":null,"startDate":null,"endDate":null},{"firstRow":null,"rowSize":null,"orderBy":null,"sortBy":null,"medicineId":16,"medicineName":"200J电复律 1 次","medicineOrder":16,"status":1,"createTime":1502328934000,"searchKey":null,"startDate":null,"endDate":null}]
     * totalCount : 15
     * pageNo : 1
     * totalPages : 1
     */

    private ObjectEntity object;

    public void setCode(int code) {
        this.code = code;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public void setObject(ObjectEntity object) {
        this.object = object;
    }

    public int getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

    public ObjectEntity getObject() {
        return object;
    }

    public static class ObjectEntity {
        private int pageSize;
        private int totalCount;
        private int pageNo;
        private int totalPages;
        /**
         * firstRow : null
         * rowSize : null
         * orderBy : null
         * sortBy : null
         * medicineId : 2
         * medicineName : 0.9%氯化钠注射液 500ml ivgtt
         * medicineOrder : 2
         * status : 1
         * createTime : 1502328816000
         * searchKey : null
         * startDate : null
         * endDate : null
         */

        private ArrayList<ListEntity> list;

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public void setList(ArrayList<ListEntity> list) {
            this.list = list;
        }

        public int getPageSize() {
            return pageSize;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public int getPageNo() {
            return pageNo;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public ArrayList<ListEntity> getList() {
            return list;
        }

        public static class ListEntity {
            private Object firstRow;
            private Object rowSize;
            private Object orderBy;
            private Object sortBy;
            private int medicineId;
            private String medicineName;
            private int medicineOrder;
            private int status;
            private long createTime;
            private Object searchKey;
            private Object startDate;
            private Object endDate;

            public void setFirstRow(Object firstRow) {
                this.firstRow = firstRow;
            }

            public void setRowSize(Object rowSize) {
                this.rowSize = rowSize;
            }

            public void setOrderBy(Object orderBy) {
                this.orderBy = orderBy;
            }

            public void setSortBy(Object sortBy) {
                this.sortBy = sortBy;
            }

            public void setMedicineId(int medicineId) {
                this.medicineId = medicineId;
            }

            public void setMedicineName(String medicineName) {
                this.medicineName = medicineName;
            }

            public void setMedicineOrder(int medicineOrder) {
                this.medicineOrder = medicineOrder;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public void setSearchKey(Object searchKey) {
                this.searchKey = searchKey;
            }

            public void setStartDate(Object startDate) {
                this.startDate = startDate;
            }

            public void setEndDate(Object endDate) {
                this.endDate = endDate;
            }

            public Object getFirstRow() {
                return firstRow;
            }

            public Object getRowSize() {
                return rowSize;
            }

            public Object getOrderBy() {
                return orderBy;
            }

            public Object getSortBy() {
                return sortBy;
            }

            public int getMedicineId() {
                return medicineId;
            }

            public String getMedicineName() {
                return medicineName;
            }

            public int getMedicineOrder() {
                return medicineOrder;
            }

            public int getStatus() {
                return status;
            }

            public long getCreateTime() {
                return createTime;
            }

            public Object getSearchKey() {
                return searchKey;
            }

            public Object getStartDate() {
                return startDate;
            }

            public Object getEndDate() {
                return endDate;
            }
        }
    }
}
